package com.getword.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;


@Document("articleRead")
@Setter
@Getter
@ToString
public class ArticleRead implements Serializable {
    @Id
    @Field("_id")
    private String id;
    private String ip;
}
